var interval = setInterval(hideMessage, 5000);

function hideMessage(){
	var box = window.document.getElementById('message');
	box.style.display = "none";
	clearInterval(interval);
	interval = 0;
}
